//
//  HyModel.m
//  豆瓣
//
//  Created by hy on 16/1/7.
//  Copyright © 2016年 hongyu. All rights reserved.
//

#import "HyModel.h"

@implementation HyModel

+ (HyModel *)model {
    return [[HyModel alloc] init];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"images"]) {
        self.image = value[@"large"];
    }
}
- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}
@end
